package com.zhengqing.wxmp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhengqing.wxmp.entity.ManualWxAccount;

/**
 * <p>  微信公众号-用户 服务类 </p>
 *
 * @author zhengqingya
 * @description
 * @date 2023/03/15 18:28
 */
public interface IManualWxAccountService extends IService<ManualWxAccount> {

    /**
     * 初始化微信账户
     * @param manualWxAccount
     */
    void initWxAccount(ManualWxAccount manualWxAccount);

    /**
     * 扣除次数
     * @param openId
     * @return
     */
    Boolean deductAccount(String openId);

}
